<!-- <div id="friendsShare" class="normal">
    <div class="outline">
        <div class="title">
            <h3>好友动态</h3>
        </div>
        <?php if (!empty($follow_list) && is_array($follow_list)) { ?>
        <div class="ncm-friends-share">
            <ul id="friendsShareList" class="jcarousel-skin-tango">
                <?php foreach($follow_list as $k => $v){ ?>
                <li>
                    <div class="ncm-friend-avatar"><a href="/member_snshome&op=trace&mid=<?php echo $v['member_id'];?>" target="_blank"><img  src="<?php if ($v['member_avatar']!='') { echo UPLOAD_SITE_URL.'/'.ATTACH_AVATAR.DS.$v['member_avatar']; } else { echo UPLOAD_SITE_URL.'/'.ATTACH_COMMON.DS.C('default_user_portrait'); } ?>"></a></div>
                    <dl>
                        <dt class="ncm-friend-name"><a href="/member_snshome&op=trace&mid=<?php echo $v['member_id'];?>" target="_blank"><?php echo $v['friend_tomname']; ?></a></dt>
                        <dd>动态<?php echo $tracelist[$v['member_id']];?>条</dd>
                    </dl>
                </li>
                <?php } ?>
            </ul>
            <div class="more"><a target="_blank" href="/member/Snsfriend/follow">查看我的全部好友</a></div>
        </div>
        <?php } else { ?>
        <dl class="null-tip">
            <dt></dt>
            <dd>
                <h4>您的好友最近没有什么动静</h4>
                <h5>关注其他用户成为好友可将您的动态进行分享</h5>
                todo
                <p><a target="_blank" href="/member/Snsfriend/follow" class="ncbtn-mini" >查看我的全部好友</a></p>
            </dd>
        </dl>
        <?php } ?>
    </div>
</div> -->
<div id="circle" class="normal" style="width:66.666%">
    <div class="outline">
        <div class="title">
            <h3>我的圈子</h3>
        </div>
        <?php if(!empty($circle_list)){?>
        <div class="ncm-circle">
            <ul id="circleList" class="jcarousel-skin-tango">
                <?php foreach($circle_list as $val){?>
                <li>
                    <div class="ncm-circle-pic"><a href="{:url('circle/Group/index', ['c_id' => $val['circle_id']])}" target="_blank"><img alt="" src="<?php echo circleLogo($val['circle_id']);?>"></a></div>
                    <dl>
                        <dt><a href="{:url('circle/Group/index', ['c_id' => $val['circle_id']])}" target="_blank"><?php echo $val['circle_name']?></a></dt>
                        <dd><?php echo $val['circle_mcount'];?>个成员</dd>
                    </dl>
                </li>
                <?php } ?>
            </ul>
            <div class="more"><a target="_blank" href="{:url('circle/Pcenter/my_group')}">查看我的所有圈子</a></div>
        </div>
        <?php } else {?>
        <dl class="null-tip">
            <dt></dt>
            <dd>
                <h4>您还没有自己的圈子</h4>
                <h5>您可以创建或加入感兴趣的社交圈子</h5>
                <p><a target="_blank" href="{:url('circle/Index/add_group')}" class="ncbtn-mini">创建圈子</a></p>
            </dd>
        </dl>
        <?php } ?>
    </div>
</div>
<div id="browseMark" class="normal">
    <div class="outline">
        <div class="title">
            <h3>我的足迹</h3>
        </div>
        <?php if (!empty($viewed_goods) && is_array($viewed_goods)) { ?>
        <div class="ncm-browse-mark">
            <ul id="browseMarkList" class="jcarousel-skin-tango">
                <?php foreach($viewed_goods as $goods_id => $goods_info) { ?>
                <li>
                    <div class="ncm-goods-pic"><a href="<?php echo $goods_info['url'];?>" target="_blank"><img alt="" src="<?php echo $goods_info['goods_image'];?>"></a></div>
                    <dl>
                        <dt class="ncm-goods-name"><a href="<?php echo $goods_info['url'];?>" title="<?php echo $goods_info['goods_name'];?>" target="_blank"><?php echo $goods_info['goods_name'];?></a></dt>
                        <dd class="ncm-goods-price"><em>￥<?php echo ncPriceFormat($goods_info['goods_promotion_price']);?></em></dd>
                    </dl>
                </li>
                <?php } ?>
            </ul>
            <div class="more"><a href="{:url('member/Goodsbrowse/index')}" target="_blank">查看所有商品</a></div>
        </div>
        <?php } else { ?>
        <dl class="null-tip">
            <dt></dt>
            <dd>
                <h4>您的商品浏览记录为空</h4>
                <h5>赶紧去商城看看促销活动吧</h5>
                <p><a target="_blank" href="{:url('shop/Search/index')}" class="ncbtn-mini">浏览商品</a></p>
            </dd>
        </dl>
        <?php } ?>
    </div>
</div>
<script>
    //信息轮换
    $.getScript("__SITE_RESOURCE__/js/jcarousel/jquery.jcarousel.min.js", function(){
        $('#favoritesGoodsList').jcarousel({visible: 4,itemFallbackDimension: 300});
        $('#favoritesStoreList').jcarousel({visible: 3,itemFallbackDimension: 300});
        $('#friendsShareList').jcarousel({visible: 3,itemFallbackDimension: 300});
        $('#circleList').jcarousel({visible: 3,itemFallbackDimension: 300});
        $('#browseMarkList').jcarousel({visible: 3,itemFallbackDimension: 300});
    });
</script>
